<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 内容安全策略 Content-Security-Policy -->
    <meta http-equiv="Content-Security-Policy"
        content="default-src 'self'; img-src 'self' data:; script-src 'self'; style-src 'self' 'unsafe-inline' ">
    <title>Document</title>
</head>

<body>
    <h1>Electron html show</h1>
    <p id="info"></p>
    <div>
        标题：<input id="title" type="text" />
        <button id="btn" type="button">设置标题</button>
    </div>
    <p>
        <button id="btn2" type="button">打开一个文件</button>
        文件路径：<strong id="filePath"></strong>
    </p>
    <p>
        当前值：<strong id="counter">0</strong>
    </p>
    <script src="./renderer/app.js"></script>
</body>

</html>